<div id="formsuccess" style="display:none">{if isset($errors.status) && $errors.status == "success"}{$folder->getEditUrl($folder->getLang())}{/if}</div>
<form name="form" method="post" action="?module=backoffice&action=AjaxContext&href={$href}" class="nyroModal">
{t assignTo=title}Add a folder{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
    <table class="listTable">
        <tr class="noLine">
            <td>{t assignTo=help}Label - Label is used in back-office to identify the folder.{/t}{icon name="help.png" class="toolTip" title=$help}</td>
            <td>{t}Label{/t} :</td>
            <td><input type="text" name="form[label]" value="{$folder->getLabel()|escape:"html"}" style="width:300px" /> {if isset($errors.label)}{icon name="warning.png"} {$errors.label}{/if}</td></tr>
    </table>
</div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>
